package com.wayhome.srpingbootmybatis.mbs.expertimport.bo;

import com.github.pagehelper.PageInfo;
import com.wayhome.srpingbootmybatis.config.ApiResult;
import com.wayhome.srpingbootmybatis.mbs.expertimport.dto.SetlTldyExportDTO;
import com.wayhome.srpingbootmybatis.mbs.expertimport.dto.SetlTldyExportDTO2;
import com.wayhome.srpingbootmybatis.mbs.expertimport.dto.SetlTldyInfoDTO;
import com.wayhome.srpingbootmybatis.mbs.expertimport.dto.SetlTldyInfoQueyDTO;
import org.apache.http.HttpResponse;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface DipTldyManagerBO {

    ApiResult<List<SetlTldyInfoDTO>> getDipTldyInfoList(SetlTldyInfoQueyDTO setlTldyInfoDTO)throws Exception;

    /**
     * 导出特例单议
     *
     * @param setlTldyCodeCExample 请求参数
     * @param httpResponse  httpResponse
     * @throws Exception 异常信息
     */
    void exportDipTldyInfo(SetlTldyInfoQueyDTO setlTldyCodeCExample, HttpServletResponse httpResponse) throws Exception;

    /**
     * 查询要导出的特例单议的数据
     *
     * @param setlTldyCodeCExample 请求参数
     * @return 返回结果
     * @throws Exception 异常信息
     */
    List<SetlTldyExportDTO> queryExportTldyInfo(SetlTldyInfoQueyDTO setlTldyCodeCExample) throws Exception;

    /**
     * 查询要导出的特例单议的数据-新
     * @param setlTldyCodeCExample
     * @return
     * @throws Exception
     */
    PageInfo<SetlTldyExportDTO2> queryExportTldyInfoNew(SetlTldyInfoQueyDTO setlTldyCodeCExample) throws Exception;
}
